package duck;

import java.awt.Graphics;
import java.awt.Image;
import java.awt.Rectangle;

import javax.swing.ImageIcon;

import map.Map;

public class RubberDuck extends ABlock {
	Image duck;
	public RubberDuck(Map map) {
		super(map);
		setSize(48);
		super._x = 624;
		super._y = 288;
		rect = new Rectangle(_x, _y, _size, _size);
		duck = new ImageIcon("C:\\Users\\monushka\\Desktop\\BattleCity\\duck.png").getImage();
	}

	@Override
	public void draw(Graphics g) {
		g.drawImage(duck, _y, _x, null);
	}

}
